package top.hkyzf.study.j2se.juc;

/**
 * @author 朱峰
 * @date 2021-12-28 23:05
 */
public class ThreadDemo1 extends Thread{
    @Override
    public void run() {
        System.out.println("线程：" + Thread.currentThread().getName() + " 执行了！");
    }

    public static void main(String[] args) {
        ThreadDemo1 demo = new ThreadDemo1();
        System.out.println("线程：" + Thread.currentThread().getName() + " 执行了！");
        demo.start();
    }
}
